package com.sinosoft.app.notice.biz;

import java.util.List;

import com.sinosoft.app.notice.entity.RuleNotice;
import com.sinosoft.system.util.page.Pagenation;

public interface RuleNoticeBiz {
	public int insertRuleNotice(RuleNotice ruleNotice);
	public int updateRuleNotice(RuleNotice ruleNotice);
	public int deleteRuleNotice(int id);
	public RuleNotice selectRuleNotice(int id);
	public RuleNotice selectRuleNotice(List<String> queryKeys,List<Object> queryValues);
	public int selectCountRuleNotice();
	public int selectCountRuleNotice(List<String> queryKeys,List<Object> queryValues);
	public List<RuleNotice> selectLimitRuleNotice(int start,int size);
	public List<RuleNotice> selectLimitRuleNotice(List<String> queryKeys,List<Object> queryValues,int start,int size);
	public List<RuleNotice> selectAllRuleNotice();
	public List<RuleNotice> selectAllRuleNotice(List<String> queryKeys,List<Object> queryValues);
	public Pagenation selectPageRuleNotice(Pagenation page);
}
